package com.eastfair.home.service;

import com.eastfair.boot.service.SuperService;
import com.eastfair.home.dto.ReportManageAuditHistoryDTO;
import com.eastfair.home.dto.ReportSpaceAuditDTO;
import com.eastfair.home.entity.ReportManageAuditHistory;
import com.eastfair.home.vo.ReportManageAuditHistoryVO;

import java.time.LocalDateTime;
import java.util.List;

/**
 * <p>
 * 业务接口
 * 报馆管理费审核记录历史
 * </p>
 *
 * @author linan
 * @date 2023-04-18
 */
public interface ReportManageAuditHistoryService extends SuperService<ReportManageAuditHistory> {

    /**
     * 管理费审核历史查询
     * @param reportManageAuditHistoryDTO reportManageAuditHistoryDTO
     * @return List
     */
    List<ReportManageAuditHistoryVO> queryReportManageAuditHistory(ReportManageAuditHistoryDTO reportManageAuditHistoryDTO);

    /**
     * 保存管理费审核历史.
     *
     * @param reportSpaceAuditDTO the report space audit dto
     * @param submitTime          the submit time
     * @return the boolean
     */
    boolean saveHistoryByReportSpaceAudit(ReportSpaceAuditDTO reportSpaceAuditDTO, LocalDateTime submitTime);

    /**
     * 异步保存审核历史.
     *
     * @param reportSpaceAuditDTO the report space audit dto
     * @param submitTime          the submit time
     * @return the boolean
     */
    void asyncSaveHistoryByReportSpaceAudit(ReportSpaceAuditDTO reportSpaceAuditDTO, LocalDateTime submitTime);
}
